
import { lazy } from 'react';

// import { Navigate } from 'react-router-dom';

export default ([
  {
    path: '/login',
    element: lazy(() => import('@src/page/login/login')),
    mate: {
      name: '登录'
    }
  },
  {
    path: '/',
    element: lazy(() => import('@src/page/Layout/layout')),
    children: [
      {
        path: '/',
        element: lazy(() => import('@src/page/resume/resume')),
        mate: {
          name: '简历列表'
        },
        children: [
          {
            path: '/test',
            element: lazy(() => import('@src/page/resume/resume')),
            mate: {
              name: 'TEST'
            }
          },
          {
            path: '/Hello',
            element: lazy(() => import('@src/page/resume/resume')),
            mate: {
              name: 'Hello'
            }
          }
        ]
      },
      {
        path: '/user',
        element: lazy(() => import('@src/page/users/users')),
        mate: {
          name: '用户列表'
        }
      },
      {
        path: '/school',
        element: lazy(() => import('@src/page/school/index')),
        mate: {
          name: '学校列表'
        }
      },
      {
        path: '/company',
        element: lazy(() => import('@src/page/company/index')),
        mate: {
          name: '公司列表'
        }
      },
      {
        path: '/project',
        element: lazy(() => import('@src/page/project/index')),
        mate: {
          name: '项目列表'
        }
      },

      {
        path: '/user1',
        element: lazy(() => import('@src/page/users/users')),
        mate: {
          name: '用户列表1'
        }
      },
      {
        path: '/school1',
        element: lazy(() => import('@src/page/school/index')),
        mate: {
          name: '学校列表1'
        }
      },
      {
        path: '/company1',
        element: lazy(() => import('@src/page/company/index')),
        mate: {
          name: '公司列表1'
        }
      },
      {
        path: '/project1',
        element: lazy(() => import('@src/page/project/index')),
        mate: {
          name: '项目列表1'
        }
      },
      {
        path: '/user2',
        element: lazy(() => import('@src/page/users/users')),
        mate: {
          name: '用户列表2'
        }
      },
      {
        path: '/school2',
        element: lazy(() => import('@src/page/school/index')),
        mate: {
          name: '学校列表2'
        }
      },
      {
        path: '/company2',
        element: lazy(() => import('@src/page/company/index')),
        mate: {
          name: '公司列表2'
        }
      },
      {
        path: '/project2',
        element: lazy(() => import('@src/page/project/index')),
        mate: {
          name: '项目列表2'
        }
      },
      {
        path: '/user3',
        element: lazy(() => import('@src/page/users/users')),
        mate: {
          name: '用户列表3'
        }
      },
      {
        path: '/school3',
        element: lazy(() => import('@src/page/school/index')),
        mate: {
          name: '学校列表'
        }
      },
      {
        path: '/company3',
        element: lazy(() => import('@src/page/company/index')),
        mate: {
          name: '公司列表3'
        }
      },
      {
        path: '/project3',
        element: lazy(() => import('@src/page/project/index')),
        mate: {
          name: '项目列表3'
        }
      }
    ]
  }
])